package cn.bdqn.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.entity.Repair;
import cn.bdqn.entity.UsersAndRepair;
import cn.bdqn.util.Page;

public interface RepairService {
	Integer saveRepair(Repair repair);
	List<Repair> queryAllRepairByUserid(@Param("userid")Integer userid);
	//放弃/继续报修
	Integer updateRepair(Repair repair);
	void queryAllRepairByguan(@Param("context")String context,Page<UsersAndRepair> page);
	Integer updateRepairChuStatus(Repair repair);
	UsersAndRepair queryRepairByrepirid(@Param("repairid")Integer repairid);

}
